import { useMediaQuery } from 'react-responsive'

const PC = ({ children }) => {
  const flag = useMediaQuery({ minWidth: 992 })
  return flag ? children : null
}

export default PC
